body
{
	color: #333333;
	font-family: 'Dosis',Arial, Helvetica, Verdana, sans-serif;
}

#container
{
display: flex;	
align-content: flex-start;
max-width: 1190px;
width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
margin-top: 80px;
background-color: #ffffff;
color: #333333;
}

.map-img{
	width: 99%;
	overflow: hidden;
	border-radius: 20px;

}

#aside {
	display: flex;
	flex-direction: column;
	width: 245px;
	height: 565px;
}

#logo{
	max-width: 185px;
	height: 185px;
	margin: 0 auto;
	background-color: #ffffff;
	flex-basis: 20%;
}	
#logo img {
	width: 185px;
	height: 185px;
	
}
#text-container
{
	height: auto;
	background-color: #ffffff;
	box-sizing: border-box;
	flex-basis: calc(100% - 220px);
	overflow: hidden;
	font:400 16px/20px 'Dosis', sans-serif;
	text-align: right;
}	
#text-container p {
	width: 99%;
}

#nav
{
	max-width: 185px;
	margin: 20px auto;
	flex-basis: 20%;
	max-height: 360px;
	display: flex;
	flex-direction: column;
}
#contain
{
	max-width: 860px;
	max-height: 360px;
	background-color: #ffffff;
	box-sizing: border-box;
	flex-basis: calc(100% - 210px);
	order: 2;
	background-color: #ffffff;
	color: #333333;
	text-align: right;
	padding: 10px;
	margin-top: 250px;
}

.tile3
{
	width:180px;
	height:45px;
	background-color: #eeeeee;
	margin-left: 2px;
	margin-top: 11px;
	margin-bottom: 12px;
	text-align: center;
	font:500 20px/45px 'Dosis', sans-serif;
	color: #333333;
	background-image:
    -webkit-linear-gradient(left, #eeeeee, #ffffff);	
}

.tile3:hover
{
  color: #eeeeee;
  cursor: pointer;
  background: radial-gradient(#111, #888);
} 

.tile3 a
{
	color: #333333;
	text-decoration: none;
	display: block;
}
.tile3 a:hover
{
	color: #eeeeee;
	
}

.rotateLeft1 {
	transform: rotateZ(-1deg);
}
.rotateLeft2 {
	transform: rotateZ(-2deg);
}
.rotateRight1 {
	transform: rotateZ(1deg);
}
.rotateRight2 {
	transform: rotateZ(2deg);
}

@media (max-width: 1100px) {
	
	#text-container {
		flex-basis: 96%;
		margin: 0 auto;
	}
	#text-container p{
		padding-right: 10px;
	}
	.map-img{
		width: 97%;
		margin: 0 auto;
			}

}
@media (max-width: 900px){
	#text-container p{
		padding-right: 20px;
		font-size: 13px;
		width: 98%;
	}
}


@media (max-width: 745px) {
	#aside {
		flex-direction: row;
		flex-basis: 100%;
		height: 195px;
	}
	#logo {
		margin-top: 5px;
		margin-bottom: 5px;
	}
	
	#nav{
		max-width: 860px;
		height: 185px;
		background-color: #ffffff;
		box-sizing: border-box;
		/* width: 300px; */
		flex-basis: calc(100% - 220px);
		flex-direction: row;
		flex-wrap: wrap;
		margin: 5px auto;
		align-items: center;
	}
	.tile3 {
		width:120px;
		height:82px;
		border-radius:10px;
		margin: 6px;
		transform: rotateZ(0deg);
	}
	.tile3 a {
		line-height: 82px;
	}
	#contain {
		flex-basis: 100%;
		height: 200px;
		margin-top: 150px;
		font-size: 23px;
	}
	#text-container {
		flex-basis: 100%;
		margin: 0 auto;
		order: 2;
	}
	
	#container{
		margin-top: 20px;
		flex-direction: row;
		flex-wrap: wrap;
	}

}
@media (max-width: 625px) {
	#aside {
		/* min-height: 293px; */
	}
	
}
@media (max-width: 575px) {
	.tile3 {
		width:40%;
		height:85px;
		margin-top: 5px;
		margin-bottom: 5px;
	}
	.tile3 a {
		font-size: 18px;
	}
	#contain {
		font-size: 21px;
	}
	#aside {
		/* min-height: 285px; */
	}
	.map-img{
	margin-top: 10px;
	margin-right: 0px;
	margin-left: 8px;
	}
}
